package com.active.service;

/**
 * @Author：zhaochun
 * @CreatTime： 2017/12/6 16:31
 */
public class AjaxResult {
    /** 状态 */
    private boolean success = false;

    /** 结果码 */
    private String code;

    /** 应答信息 */
    private String message;
    public AjaxResult(){}
    public AjaxResult(boolean success, String code, String message) {
        this.code =code;
        this.success =success;
        this.message =message;
    }
    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
